﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMS.RepositoryDefinitions.Dto;
using WMS.Suppliers.DTO;

namespace WMS.Suppliers
{
    public interface ISupplierServices: IApplicationService
    {
        Task<int> AddRepository(Supplierdto repositoryDefinitionDto);

        Task<PagedResult> GetRepositoryList(string? repositoryCode, int page = 1, int limit = 10);

        Task<int> DeleteRepository(int id);

        Task<int> UpdateRepository(Supplierdto repositoryDefinitionDto);

        Task<Supplierdto> GetRepositoryInfo(int id);
    }
}
